#ifndef IMAGE_H
#define IMAGE_H

#include<QString>
#include<QDate>
class Image
{
public:
    Image();

    int getImage_id() const;
    void setImage_id(int value);

    int getUser_id() const;
    void setUser_id(int value);

    QString getImage_path() const;
    void setImage_path(const QString &value);

    QString getImage_name() const;
    void setImage_name(const QString &value);

    int getImage_size() const;
    void setImage_size(int value);

    QString getImage_time() const;
    void setImage_time(const QString &value);


   QDate extractDateFromName() const;

private:
    int image_id;
    int user_id;
    QString image_path;
    QString image_name;
    int image_size;
    QString image_time;
};

#endif // IMAGE_H
